﻿namespace Arms.Framework.Collections
{
    using System;
    using System.Collections;
    using System.Collections.Generic;

    /// <summary>
    /// Base contract for an add only dictionary.
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IAddOnlyDictionary<TKey, TValue> : IAddOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable
    {
        /// <summary>
        /// Adds an item to this dictionary.
        /// </summary>
        /// <param name="key">key</param>
        /// <param name="value">value</param>
        void Add(TKey key, TValue value);
    }
}
